<%@page import="java.util.Vector"%>
<%@page import="board.Board"%>
<%@page import="board.BoardVo"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
#board_list{
	width: 100%;
}

#board_list_body{
	
}
#b_l_b_serial{
}
#b_l_b_mid{
}
#b_l_b_subject{
}
#b_l_b_content{
}
#b_l_b_file{
}
#b_l_b_count{
}
.page_bt{
	width: 30px;
	height: 30px;
	background-color: orange;
	border: 1px solid purple; 
	border-radius:5px;
}
.lll{
	display: inline-block;
}
</style>
</head>
<body>
<jsp:useBean id="boardVo" class="board.BoardVo"/>
<jsp:setProperty property="*" name="boardVo"/>

<%
String part = (String)session.getAttribute("part");
boardVo.setPart(part);

Board bb = new Board();
bb.setVo(boardVo);
Vector<BoardVo> vo = bb.list();
%>


<div id="board_list">

	<br/><br/>
	
	<div id="board_list_body">
		<%
		for(int i=0; i<vo.size(); i++){
			BoardVo bv = vo.get(i);
		%>
			<div class="lll" id="b_l_b_subject">제목 : <%=bv.getSubject()%></div><br/>
		<%} %>
	</div>
	<br/>
	
</div>
<script>
init();
</script>
</body>
</html>